package com.ifeiyang.bijia.model;

import com.lidroid.xutils.util.LogUtils;

import android.app.Application;
import android.view.LayoutInflater;

public class App extends Application
{

	public static App getInstance()
	{
		return app;
	}

	static App app;
	private LayoutInflater inflater;
	AttrModel attrModel = new AttrModel();
	HttpModel httpModel = new HttpModel();
	

	@Override
	public void onCreate()
	{
		super.onCreate();
		LogUtils.customTagPrefix = "LogUtils";
		app = this;
		inflater = LayoutInflater.from(this);
		
	}

	public HttpModel getHttpModel() {
		return httpModel;
	}
	public LayoutInflater getInflater()
	{
		return inflater;
	}


	public void setInflater(LayoutInflater inflater)
	{
		this.inflater = inflater;
	}


	public AttrModel getAttrModel()
	{
		return attrModel;
	}


	public void setAttrModel(AttrModel attrModel)
	{
		this.attrModel = attrModel;
	}
	
	
}
